require "yaml"

def run(filename)
  i = 0
  open(filename) do |f|
    YAML.load_documents(f) { i += 1 }
  end
  i
end

__END__
name: jruby/jvyamlb
library:
  name: JvYAMLb
  version: (bundle)
  language: [Java]
